package com.gitee.sop.sopauth.auth;

import lombok.Data;

import java.io.Serializable;

/**
 * @author admin
 */
@Data
public class Token implements Serializable {
    private static final long serialVersionUID = 1L;

    private String accessToken;
    private String refreshToken;
    private OpenUser openUser;

    public Token(String accessToken, String refreshToken, OpenUser openUser) {
        super();
        this.accessToken = accessToken;
        this.refreshToken = refreshToken;
        this.openUser = openUser;
    }

    public Token() {
        super();
    }
}
